package com.itany.mall.constant;

public enum UserRoleEnum {
	ADMIN(1, "管理员"), NORMAL(2, "普通用户");

	private int roleCode;
	private String roleName;

	private UserRoleEnum(int roleCode, String roleName) {
		this.roleCode = roleCode;
		this.roleName = roleName;
	}

	public int getRoleCode() {
		return roleCode;
	}

	public String getRoleName() {
		return roleName;
	}

}
